<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<html>
	<head>
	
		<script src="<%=path%>/static/js/jquery-1.6.1.min.js" type="text/javascript"></script>
		<script src="<spring:url value="/static/js/jquery.easyui.min.js" />" type="text/javascript" ></script>
		<link rel="stylesheet" type="text/css" href="<%=path%>/static/css/themes/default/easyui.css">
		<link href="<%=path%>/static/css/themes/icon.css" rel="stylesheet" type="text/css" />
			
		<script type="text/javascript">
			
		</script>
	</head>

<body>
	<div>
		<form id="infoForm" method="post"
			style="margin: 10; text-align: center;">
			<input type="hidden" name="id" id="id">
			
			<table>
			
			<tr>
			<td><div>SP全称：</div></td>
			<td>
				<input class="easyui-combobox" style="color:#EA672E;width:200;"
					   name="spId"
					   data-options="
							url:'<%=path%>/spinfo/populateSpinfoList',
							method:'get',
							valueField:'id',
							textField:'name',
							panelHeight:'auto'
				">
			</td>
			</tr>
			
			<tr>
			<td><div>运营商：</div></td>
			<td>
				<input class="easyui-combobox" style="color:#EA672E;width:200;"
					   name="providerId"
					   data-options="
							url:'<%=path%>/spcode/populateMobileProviderList',
							method:'get',
							valueField:'id',
							textField:'name',
							panelHeight:'auto'
				">
			</td>
			</tr>
			
			
			
			<tr>
			<td><div>计费类型：</div></td>
			<td>
				<input class="easyui-combobox" style="color:#EA672E;width:200;"
					   name="payMethod"
					   data-options="
							url:'<%=path%>/spcode/populatePaymethodList',
							method:'get',
							valueField:'code',
							textField:'name',
							panelHeight:'auto'
				">
			</td>
			</tr>
			
			<tr>
			<td><div>二次确认类型：</div></td>
			<td>
				<input class="easyui-combobox" style="color:#EA672E;width:200;"
					   name="dbCheckType"
					   data-options="
							url:'<%=path%>/spcode/populateCheckTypeList',
							method:'get',
							valueField:'code',
							textField:'name',
							panelHeight:'auto'
				">
			</td>
			</tr>
			
			<tr>
			<td>二次确认开始关键字：</td>
			<td>
				<input name="dbCheckKeyStartWord" style="color:#EA672E;width:200" validType="length[0,255]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			<tr>
			<td>二次确认结束关键字：</td>
			<td>
				<input name="dbCheckEndWord" style="color:#EA672E;width:200" validType="length[0,255]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			<tr>
			<td>二次确认固定回复内容：</td>
			<td>
				<input name="dbCheckConstantWord" style="color:#EA672E;width:200" validType="length[0,255]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			<tr>
			<td>业务名称：</td>
			<td>
				<input name="spcodeName" style="color:#EA672E;width:200" validType="length[0,20]"
					class="easyui-validatebox" required="true">
			</td>
			</tr>
			
			<tr>
			<td>代码价格：</td>
			<td>
				<input name="price" style="color:#EA672E;width:200"
					class="easyui-numberbox" data-options="required:true">
			</td>
			</tr>
			
			<tr>
			<td>数据是否实时同步：</td>
			<td>
				<select id="idSychronize" class="easyui-combobox,easyui-validatebox" name="sychronize" style="color:#EA672E;width:200px;" panelHeight="auto"
					required="true" 
					validType="selectValueRequired['#idSychronize']" >
							<option value="1">是</option>
							<option value="0">否</option>
				</select>
			</td>
			</tr>
			
			<tr>
			<td>破解连接首地址：</td>
			<td>
				<input name="url" style="color:#EA672E;width:200" validType="length[0,100]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			
			<tr>
			<td>上行目的号：</td>
			<td>
				<input name="spNumber" style="color:#EA672E;width:200" validType="length[0,20]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			<tr>
			<td>上行内容：</td>
			<td>
				<input name="spContent" style="color:#EA672E;width:200" validType="length[0,150]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			<tr>
			<td>SP下行号码：</td>
			<td>
				<input name="spxxNumber" style="color:#EA672E;width:200" validType="length[0,20]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			<tr>
			<td>SP下行内容关键字：</td>
			<td>
				<input name="spxxContent" style="color:#EA672E;width:200" validType="length[0,20]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			<tr>
			<td>运营商下行号码：</td>
			<td>
				<input name="provideRxxNumber" style="color:#EA672E;width:200" validType="length[0,20]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			<tr>
			<td>运营商下行内容关键字：</td>
			<td>
				<input name="provideRxxContent" style="color:#EA672E;width:200" validType="length[0,20]"
					class="easyui-validatebox">
			</td>
			</tr>
			
			<tr>
			<td>用户使用日限：</td>
			<td>
				<input name="userDayMax" style="color:#EA672E;width:200"
					class="easyui-numberbox" required="true" min="0" max="2147483647">
			</td>
			</tr>
			
			<tr>
			<td>用户使用月限：</td>
			<td>
				<input name="userMonthMax" style="color:#EA672E;width:200"
					class="easyui-numberbox" required="true" min="0" max="2147483647">
			</td>
			</tr>
			
			<tr>
			<td>使用日限：</td>
			<td>
				<input name="dayMax" style="color:#EA672E;width:200"
					class="easyui-numberbox" required="true" min="0" max="2147483647">
			</td>
			</tr>
			
			<tr>
			<td>放量开始时间：</td>
			<td>
				<input name="startTime" style="color:#EA672E;width:200"
					class="easyui-numberbox" required="true" min="0" max="2147483647">
			</td>
			</tr>
			
			<tr>
			<td>放量结束时间：</td>
			<td>
				<input name="endTime" style="color:#EA672E;width:200"
					class="easyui-numberbox" required="true" min="0" max="2147483647">
			</td>
			</tr>
			
			<tr>
			<td>&nbsp;</td>
			<td>
			<a href="#" id="btn-back" onclick="$('#MyPopWindow').window('close');"
				class="easyui-linkbutton" iconCls="icon-back">返回</a> 
			<a href="#" id="btn-add" onclick="saveOrUpdate()" class="easyui-linkbutton"
					iconCls="icon-save">保存</a>
			</td>
			</tr>
			</table>
		</form>
	</div>
</body>
</html>
